package Page.AndroidPages.PO;

import Page.AndroidPages.BasePage;
import io.appium.java_client.AppiumDriver;
import io.appium.java_client.android.AndroidDriver;
import io.appium.java_client.android.AndroidElement;
import io.appium.java_client.pagefactory.*;

/**
 * 主页面
 *
 */


public class MainPage  extends BasePage {

//    获取自选按钮
        @AndroidFindBy(xpath = "//*[contains(@resource-id,'com.xueqiu.android:id/tab_name') and @text='自选']/..")
        public AndroidElement zixuan;

//        @AndroidFindAll({@AndroidBy(id = "android:id/tabs")})
//        public List<AndroidElement> tabsList;

//        @AndroidFindBy(xpath = "/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.view.ViewGroup/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.TabHost/android.widget.LinearLayout/android.widget.TabWidget/android.widget.RelativeLayout[1]")
//         public AndroidElement xueqiu;

}
